using Wilco.SyntaxHighlighting.Engine.Node.Implementation;

namespace Wilco.SyntaxHighlighting.Engine.Node.Implementation.String
{
    /// <summary>
    /// Represents a string node.
    /// </summary>
    public class StringNode : NodeBase
    {
        private readonly EntityCollection entities;

        /// <summary>
        /// Gets the collection of entities which contains information about the start, end and escape strings of strings.
        /// </summary>
        public EntityCollection Entities
        {
            get
            {
                return entities;
            }
        }

        /// <summary>
        /// Initializes a new instance of a <see cref="StringNode"/> class.
        /// </summary>
        public StringNode()
        {
            entities = new EntityCollection();
        }
    }
}